package com.ruoyi.web.service;

import com.ruoyi.web.domain.dto.GangdanAppraiseParamDto;
import com.ruoyi.web.domain.dto.GongdanConfirmParamDto;
import com.ruoyi.web.domain.vo.GangdanAppraiseVo;
import com.ruoyi.web.domain.vo.GongdanConfirmVo;
import org.apache.ibatis.annotations.Param;

public interface GangDanConfirmAndAppraiseService {

    /**
     * 设置工单的确认信息
     * @param gongdanConfirmParamDto 确认参数
     */
    void updateGongDanConfirm(GongdanConfirmParamDto gongdanConfirmParamDto);

    void addGongDanAppraise(GangdanAppraiseParamDto paramDto);

    /**
     * 根据工单id查询工单确认信息
     * @param baseId
     * @return
     */
    GongdanConfirmVo queryGongDanConfirmVoById(Long baseId);

    /**
     * 根据工单id查询工单评价信息
     * @param baseId
     * @return
     */
    GangdanAppraiseVo queryGangDanAppraiseVoById(Long baseId);
}
